﻿{include file="public/header" /}
<title>我的桌面</title>
</head>

<body>
	<div class="page-container">
		<div>系统统计</div>
		<div>
			<table style="width: 400px;margin: 0 auto;">
				<tr><td style="width: 70px;">现金</td>
					<td style="width: 40px;">|</td><td  style="width: 70px;">鼓励金</td>
					<td style="width: 40px;">|</td><td  style="width: 70px;">余额</td>
					<td style="width: 40px;">|</td><td  style="width: 70px;">服务费</td>
					</tr>
				<tr><td><a href="{:url('index/balance_logs')}">{$balances}</a></td>
					<td></td><td><a href="{:url('index/balance_logs')}">{$total_scores}</a></td>
					<td></td><td>{$total_balance}</td>
					<td></td><td>{$pts}</td>
					</tr>
			</table>
			
		</div>
		<table class="table table-border table-bordered table-bg">
			<thead>
				<tr class="text-c">
					<th></th>
					<th>交易流水</th>
					<th>交易笔数</th>
					<th>商户数</th>
					<th>会员数</th>
				</tr>
			</thead>
			<tbody>
				<tr class="text-c">
					<td>总数</td>
					<td>{$logs}</td>
					<td>{$counts}</td>
					<td>{$agents}</td>
					<td>{$users}</td>
				</tr>
				<tr class="text-c">
					<td>今日</td>
					<td>{$today_logs?$today_logs : 0}</td>
					<td>{$today_counts}</td>
					<td>{$today_agents}</td>
					<td>{$today_users}</td>
				</tr>
				<tr class="text-c">
					<td>本周</td>
					<td>{$week_logs}</td>
					<td>{$week_counts}</td>
					<td>{$week_agents}</td>
					<td>{$week_users}</td>
				</tr>
				<tr class="text-c">
					<td>本月</td>
					<td>{$month_logs}</td>
					<td>{$month_counts}</td>
					<td>{$month_agents}</td>
					<td>{$month_users}</td>
				</tr>
			</tbody>
		</table>
		<div style="width: 100px;margin: 0 auto;">
		鼓励金兑换到余额服务费
		</div>
			<table class="table table-border table-bordered table-bg">
			<thead>
				<tr class="text-c">
					<th>今日</th>
					<th>本月</th>
					<th>累计</th>
				</tr>
			</thead>
			<tbody>
				<tr class="text-c">
					<td>{$today_pts?$today_pts : 0}</td>
					<td>{$month_pts}</td>
					<td>{$pts}</td>
				</tr>
				
			</tbody>
		</table>
	
	</div>

	{include file="public/footer" /}
	<script type="text/javascript" src="__ADMIN__/lib/jquery/1.9.1/jquery.min.js"></script>
	<script type="text/javascript" src="__ADMIN__/static/h-ui/js/H-ui.min.js"></script>